package com.oa.core.config;

import com.aliyun.oss.OSSClient;
import lombok.Data;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "ali.oss")
@Data
public class AliOssConfig {

    private String bucketName;

    private String ossEndpoint;

    private String ossAccessKeyId;

    private String ossAccessKeySecret;
}
